if (isDedicated) exitwith {};

player createDiarySubject ["missioninfo", "Mission Info"];

player createDiaryRecord ["missioninfo", ["Credits", "
Anyone who directly contributed to mission creation or who created resources used in the mission will be listed here:<br/>
	- Superxpdude - Mission design and creation.<br/>
	- Boninf - Original Injury System for ArmA 2.<br/>
	- Psychobastard - Injury System port to ArmA 3.<br/>
	- aeroson - Group Manager, Chemlight functions, Player markers.<br/>
	- Outlawled - Mag Repack.<br/>
	- Tonic - View Distance Settings."]];

player createDiaryRecord ["missioninfo", ["Changelog", "
-------------------------------------------------<br/>
------------  Version 1.0 (Stable) <br/>
-------------------------------------------------<br/>
<br/>
- Initial Mission Release<br/>"]];

player createDiaryRecord ["missioninfo", ["Extra Controls", "
- Hold T and use the scroll wheel to access the squad manager and extended chemlight functions.<br/>
- Left-Ctrl + R will open up the Mag Repack menu, use it to condense the ammo you have into fewer magazines."]];

if ((side player) == WEST) then {

player createDiaryRecord ["diary", ["Execution", "NATO forces will proceed from our base in the south-east, and move towards the airport.<br/>
Along the way to the airport, NATO will secure control of key outposts in Panagia, Chalkeia, Pyrgos, Charkia, and Telos.
Once the outposts have been captured, we will be able to use them as temporary bases on our way to the airport.<br/>
You have been provided with the most advanced equipment NATO can provide. Use this equipment well, and don't let it fall under the control of CSAT forces."]];

player createDiaryRecord ["diary", ["Mission", "CSAT has established outposts in the towns of Panagia, Chalkeia, Pyrgos, Charkia, and Telos, and is currently using those bases to store vital military equipment.<br/>
<br/>
NATO forces have been deployed to the south-east of Altis, and will work their way towards the Altis International Airport to secure it from CSAT forces.<br/>
Once we secure the airfield, the CSAT forces will be forced to retreat, as they will no longer have access to the airport for transfer of supplies."]];

player createDiaryRecord ["diary", ["Situation", "CSAT forces have been occupying most of Altis for the past 3 months, and have a substantial buildup of forces and equipment on the island. 
There are CSAT outposts located in various towns around Altis to provide early warning and reconnaissance for the main CSAT forces.<br/>
As of now we have very little intel about the size of the CSAT forces on Altis, but we do know that they appear to be based at the Altis International Airport.<br/>"]];

player createDiaryRecord ["diary", ["Test", "This is a test diary record for <executeClose expression='hint ""You are NATO!""'>NATO</execute><br/>"]];
};

if ((side player) == EAST) then {

player createDiaryRecord ["diary", ["Execution", "NATO forces will attempt to push from their base towards the International Airport, going through five of our outposts along the way.<br/>
CSAT high command has provided you with the most advanced equipment available to defend those outposts against the NATO assault.<br/>
Reinforcements are inbound, but will take time to arrive. Should you manage to hold out until then, the NATO forces will not stand a chance against a counter-attack."]];
	
player createDiaryRecord ["diary", ["Mission", "Intelligence reports that NATO forces are mobilizing to attempt to capture the our outposts in Panagia, Chalkeia, Pyrgos, Charkia, and Telos.<br/>
Should they manage to secure control of those outposts and the supplies within, we will be unable to defend the International Airport against a full-scale NATO assault."]];

player createDiaryRecord ["diary", ["Situation", "CSAT high command has informed us that NATO forces are approaching Altis in an attempt to push our forces off of the island.<br/>
They have managed to establish a forward base on the south-east corner of the island, near the town of Selakano.<br/>
Our intelligence reports that the NATO forces will soon be attempting to push their way towards our military base at the International Airport, however we have outposts between the airport and the NATO forces, which should help to provide a line of defence."]];

player createDiaryRecord ["diary", ["Test", "This is a test diary record for <executeClose expression='hint ""You are CSAT!""'>CSAT</execute><br/>"]];
};